#include"List.h"

namespace fwx {
	void test1() {
		list<int> lt1;
		lt1.push_back(1);
		lt1.push_back(2);
		lt1.push_back(3);
		lt1.push_back(4);
		lt1.insert(++lt1.begin(), 33);
		lt1.erase(lt1.begin());
		list<int>::iterator it = lt1.begin();
		while (it != lt1.end()) {
			cout << *it << ' ';
			++it;
		}
		cout << endl;
	}
}
int main() {
	fwx::test1();
	return 0;

}